package ru.spb.osll.myfit.client.view;

import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import ru.spb.osll.myfit.client.widget.IStyleConstants;
import ru.spb.osll.myfit.client.widget.SuitesWidget;

/**
 *
 */
public class SuitesView extends AbstractView {
  @Override
  protected Widget createContentPanel() {
    return new SuitesWidget();
  }

  @Override
  protected Widget createEditPanel() {
    VerticalPanel editPanel = new VerticalPanel();
    editPanel.setStyleName(IStyleConstants.MYFIT_VIEW_TOOL_PANEL_STYLE_NAME);

    Label label = new Label("Suites");
    label.addStyleName(IStyleConstants.PAGE_TITLE_STYLE_NAME);

    editPanel.add(label);
    return editPanel;
  }
}
